Skip to main content

All Questions

Tagged with
-1votes
1answer
95views

ASP.NET MVC app request.form returns null

public ActionResult AddFood() { if (Session["uid"] != null) { string email = Session["uid"].ToString(); var user = HomeController.Users.FirstOrDefault(x =&...
StraleS02's user avatar
0votes
1answer
40views

Dropdown button works every other time with modal popup window using ajax

I recorded a short video of my problem. When the modal window is opened and closed, the dropdown button isn't working, but when I open and close the modal window again, it works as expected. How to ...
2033's user avatar
0votes
0answers
58views

HTML elements are not going where I expect in ASP.NET MVC on .NET 4.8

I've got an ASP.NET MVC project running on .NET Framework 4.8 - not ASP.NET Core MVC. I have a support ticket to fix an upload issue with the page below. The upload issue is fixed, but I would like to ...
jp2code's user avatar
1vote
1answer
126views

Populating dropdown with data entered by other users

I have an ASP.NET MVC application that is hosted on a server that takes multiple users. The way the application works is that it has multiple pages that are all part of one larger form, so each page ...
Zackeezy's user avatar
1vote
2answers
108views

How to keep sticky-header bootstrap table inside a div with dynamic data?

I am using bootstrap-table and dynamically adding my datas into the table (including headers) I have checked below and other related posts but there's no luck.: how-to-implement-fixed-header-for-table-...
Kyo's user avatar
  • 23
2votes
1answer
57views

VS 2022 ASP.Net Core MVC Simple Bootstrap Menu Not Working

I have a simple ASP.Net Core 8 site created in VS 2022. I have installed Bootstrap 5.3.3, jQuery 3.7.1 using libman and copied the simplest Menu sample from GetBootstrap. When the screen width is ...
Dec's user avatar
  • 37
0votes
1answer
97views

How to write style using Html.Raw in ASP.NET MVC

I am trying to write a style using Html.Raw in an ASP.NET MVC view but it is not working. If I check page source, then that particular style is not there in HTML source in <head>. I have tried ...
Frank Martin's user avatar
1vote
0answers
76views

How to allow to select only 1.5 hour duration in fullcalendar

Fullcalender has 15 minute slots: javascript: document.addEventListener('DOMContentLoaded', function() { const calOpts = { locale: 'ee', slotDuration: '00:15:00', slotLabelInterval: '00:15', ...
Andrus's user avatar
0votes
1answer
38views

Image crops when Scrolling ASP.NET MVC

I have an image cropping when data is more than the actual page (if that makes sense). When I scroll, I want the image to always be in the background regardless of whether it is being scrolled. The ...
DonDavid12's user avatar
0votes
1answer
45views

Html.HiddenFor assignment

I am trying to assign a value after the user clicks a button. My element is initialized using Html.HiddenFor as follows. @Html.HiddenFor(model => model.WirelessServices[Model.WirelessServices....
Zyorhist's user avatar
0votes
1answer
242views

zxing-js refuses to scan barcodes

I've tried everything, other libraries (free ones, boss won't pay the mad money commercial ones want), but it just won't scan ean 13 codes. Will scan qr codes all day long. Tried setting the optiond ...
Jim Tench's user avatar
0votes
1answer
50views

Drag-and-drop action is being interpreted as a click, bypassing the confirmation dialog

We’ve got an EF6 MVC3 codeFirst-site. And recently i learned that if you click it, the confirm dialog works fine, but if you click and try to undo it by drag the link somewere and let go, you would ...
Fredrik Kindahl's user avatar
0votes
1answer
57views

ASP.NET MVC: Delete and Update Methods Not Working (HTTP ERROR 404)

I'm developing an ASP.NET MVC project, and I'm encountering an issue with the Delete and Update methods in my ExperienceController. The methods are not working, and I receive the following error : ...
onurkaygn's user avatar
0votes
1answer
58views

ASP.NET MVC : form is null when posting to controller

I have a very simple page with a very simple model and I'm not entirely sure why when I post the model it's null. I'm looking for a bit of assistance, I've now been staring at this code for 2 hours ...
user1257758's user avatar
0votes
1answer
71views

how do i return the json object of my ajax GET request to an API in Asp.net MVC

Ok hi. I'm having a lot of problems with a project im building. I want to use Ajax to make a request to the Google.Books api so I can make book searches from my website. Its a Asp.net MVC project. I'm ...
état de choses's user avatar

153050per page
close